// 对字符串进行指定长度分割
export function strSplit(str, split_setp){
    let split_num = split_setp || Math.ceil(str.length / 2);
    let split_arr = str.match(new RegExp(`(.{${split_num}})|(.{${str.length%split_num || 1}})`,"g"));
    return split_arr;
}